Important: rh-php73-php security and bug fix update

Related Vulnerabilities: CVE-2021-21703   CVE-2021-21707   CVE-2022-31625   CVE-2022-31626  

Synopsis

Important: rh-php73-php security and bug fix update

Type/Severity

Security Advisory: Important

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for rh-php73-php is now available for Red Hat Software Collections.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

Security Fix(es):

  • php: password of excessive length triggers buffer overflow leading to RCE (CVE-2022-31626)
  • php: Local privilege escalation via PHP-FPM (CVE-2021-21703)
  • php: special character breaks path in xml parsing (CVE-2021-21707)
  • php: uninitialized array in pg_query_params() leading to RCE (CVE-2022-31625)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • rh-php73: rebase to 7.3.33 (BZ#2100753)

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

After installing the updated packages, the httpd daemon must be restarted for the update to take effect.

Affected Products

  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7 ppc64le
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7 x86_64

Fixes

  • BZ - 2016535 - CVE-2021-21703 php: Local privilege escalation via PHP-FPM
  • BZ - 2026045 - CVE-2021-21707 php: special character breaks path in xml parsing
  • BZ - 2098521 - CVE-2022-31625 php: uninitialized array in pg_query_params() leading to RCE
  • BZ - 2098523 - CVE-2022-31626 php: password of excessive length triggers buffer overflow leading to RCE
  • BZ - 2100753 - rh-php73: rebase to 7.3.33 [rhscl-3.8.z]